<?php
session_start();
if(!empty($_POST) && isset($_POST['user']) && isset($_POST['pass'])){
     if($_POST['user'] == 'god' && $_POST['pass'] == 'blessus'){
         $_SESSION['user'] = 'GODBLESSUS';
         header('location:spider.php');
         return;
     }
 }
?>
<form action="#" method="post">
    User<input type="text" name="user">Pass<input type="password" name="pass">
    <input type="submit">
</form>